package org.example.edusmart.service.impl;

import org.example.edusmart.dao.PublicDao;
import org.example.edusmart.request.Public.SearchSourcePojo;
import org.example.edusmart.service.PublicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class PublicServiceImpl implements PublicService {
    @Autowired
    private PublicDao publicDao;
    @Override
    public List<HashMap<String,Object>> SearchSource(SearchSourcePojo searchSourcePojo) {
        return publicDao.checkExamByKeyword(searchSourcePojo);
    }
}
